Shopglut\showcase\Swatches\Swatches D

Total Complexity 188
Dependencies 2
Dependents 1
Total lines 860
Lines of code 616
Logical lines of code 405
Comment lines 139
Methods 25
Properties 3

Methods 25

Method Rating Maintainability Complexity Lines of code
filters_html()
D
30 33 107
variation_attribute_custom_html()
D
31 33 91
variation_attribute_html_shop_page()
B
37 16 74
inline_css()
A
49 13 26
get_product_swatches()
A
47 12 36
shopgs_ajax_add_to_cart()
A
46 9 34
catalog_show_attr_shop_page()
S
58 8 14
get_attr_term_color_image()
S
52 7 22
get_attr_term_label()
S
61 7 11
get_remove_attr_class()
S
54 6 23
enqueue_scripts()
S
55 5 19
shortcode_functionality()
S
58 5 15
get_attr_option_by_sorting()
S
51 4 26
label_position_class()
S
61 4 12
get_swatches_position()
S
52 3 26
__construct()
S
54 3 19
get_attr_type_by_name()
S
63 4 9
requires_shop_settings()
S
71 3 6
check_theme_compatibility()
S
68 3 7
is_required_page()
S
71 2 6
shop_page_add_to_cart_args()
S
65 2 8
create_slug()
S
64 2 9
get_instance()
S
70 2 7
requires_global_settings()
S
73 1 6
shopgs_ajax_variation_threshold()
S
82 1 3